From: Richard M. Stallman Date: Mon, 29 Dec 2003 19:16:05 +0000 (+0000) Subject: (font-lock-after-change-function): Bind inhibit-quit. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~24671 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=fd824cb66de55c4572870c7b2e0215973c36f3b5;p=emacs.git (font-lock-after-change-function): Bind inhibit-quit. --- diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 1be0b724590..b76c818a517 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -1031,7 +1031,8 @@ what properties to clear before refontifying a region.") ;; Called when any modification is made to buffer text. (defun font-lock-after-change-function (beg end old-len) - (let ((inhibit-point-motion-hooks t)) + (let ((inhibit-point-motion-hooks t) + (inhibit-quit t)) (save-excursion (save-match-data ;; Rescan between start of lines enclosing the region.